<table>
	<tr>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Wyślij zaznaczonym</div>
			</a>
		</td>
	</tr>
</table>
<h2><?php echo $this->error?></h2>
<form method="post" id="formitem" >
	<div class="bglist">
		<div class="bglistq">
			<table cellspacing="1" cellpadding="6" class="tlist">
				<tr>
					<th>Id</th>
					<th>Email</th>
					<th>Data opłacenia</th>
					<th>Akcje</th>
				</tr>
				<?php foreach( $this->list as $item ) { ?>
				<tr>
					<td><?php echo $item['dec_id'] ?></td>
					<td><?php echo $item['email'] ?></td>
					<td><?php echo $item['date_paid'] ?></td>
					<td>
						<?php echo $this->formCheckbox('preorder['.$item['dec_id'].']', '1' , array( ));?>
					</td>
				</tr>
				<?php } ?>
			</table>
		</div>
	</div>
</form>
<?php  echo $this->render('global/pager.phtml'); ?>